package com.itheima.demo;

public class demo3 {
    public static void main(String[] args) {
        int sum=0;
        int [][]arr={{22,33,44},{77,33,88},{25,45,65},{11,66,99}};
        for (int i = 0; i < arr.length; i++) {
            for (int i1 = 0; i1 < arr[i].length; i1++) {
                sum+=arr[i][i1];
            }
        }
        System.out.println(sum);
    }
}
